package org.example;

import org.example.controller.UserProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;


/**
 * 创建zk节点命令
 * create /product/product-service:dev/person.name lisi
 * 测试注册中心和配置中心
 */
@EnableConfigurationProperties(value = {UserProperties.class})
@SpringBootApplication
public class ProductApp {

    public static void main(String[] args) {
        SpringApplication.run(ProductApp.class, args);
    }
}
